package com.photo.system.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.photo.system.model.dto.favour.FavourQueryRequest;
import com.photo.system.model.entity.ThingFavour;
import com.photo.system.model.vo.ThingFavourVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author xuwenhui
* @description 针对表【thing_favour(摄影作品收藏)】的数据库操作Mapper
* @createDate 2024-11-21 21:17:09
* @Entity generator.domain.ThingFavour
*/
public interface ThingFavourMapper extends BaseMapper<ThingFavour> {

    List<ThingFavourVO> getAllFavour(@Param("pageParam") Page<ThingFavourVO> pageParam,
                                     @Param("favourQueryRequest") FavourQueryRequest favourQueryRequest,
                                     @Param("userId") Long userId);
}




